-- GENERATED SPELL FOR [Terrowulf Packlord] --


function spell0_3792(pUnit, Event) --@Battle Roar,Self--
pUnit:FullCastSpellOnTarget(6507,pUnit)
pUnit:RegisterEvent('Sorts_3792', 0, 1)
end

function Sorts_3792(pUnit, Event)
local choix_sorts_3792 = math.random(0, 0)
if choix_sorts_3792 == 0 then
pUnit:RegisterEvent('spell0_3792', 1, 1)
end
end

function mob3792_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3792', math.random(1500, 3000), 1)
end

function mob3792_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3792_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3792_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3792, 1, 'mob3792_Action')
RegisterUnitEvent(3792, 2, 'mob3792_Leave')
RegisterUnitEvent(3792, 3, 'mob3792_Kill')
RegisterUnitEvent(3792, 4, 'mob3792_Die')
